import requestClass from './request.js';
const request = new requestClass();

// 违停登记
export const registerViolationApi = (paramsData) => {
	return request.post(`/pvms/TblViolationApi/registerViolation`, paramsData);
}

// 根据车牌号获取车辆信息
export const getVehicleInfoByPlateNumberApi = (paramsData) => {
	return request.get(`/pvms/TblViolationApi/getVehicleInfoByPlateNumber`, paramsData);
}

// 待处置记录查询
export const queryPendingRecordsApi = (paramsData) => {
	return request.get(`/pvms/TblViolationApi/queryPendingRecords`, paramsData);
}

// 违停历史记录
export const queryViolationHistoryApi = (paramsData) => {
	return request.get(`/pvms/TblViolationApi/queryViolationHistory`, paramsData);
}

// 违停详情
export const getViolationDetailsApi = (paramsData) => {
	return request.get(`/pvms/TblViolationApi/getViolationDetails`, paramsData);
}

// 处置信息登记
export const registerDisposalInfoApi = (paramsData) => {
	return request.post(`/pvms/TblViolationApi/registerDisposalInfo`, paramsData);
}

// 描述添加快速填充的下拉
export const illegalParkingDescriptionApi = (paramsData) => {
	return request.get(`/system/dict/data/type/illegal_parking_description`, paramsData);
}

// 处置描述信息
export const disposalDescriptionApi = (paramsData) => {
	return request.get(`/system/dict/data/type/disposal_description`, paramsData);
}
// 违停处置历史
export const queryHandleHistoryApi = (paramsData) => {
	return request.get(`/pvms/TblViolationApi/queryHandleHistory`, paramsData);
}